<?php
class Userrule_Controller_Userrule implements Userrule_Controller_Mainable {
    
    public $page = array();
    
    private $userrule_model_accessleveldecision;
    private $userrule_model_userrule;
    
    public function main(array $variables) {
        $this->userrule_model_accessleveldecision = new Userrule_Model_Accessleveldecision;
        $this->userrule_model_accessleveldecision->main($variables);
        $this->userrule_model_userrule = new Userrule_Model_Userrule;
        $this->page = $this->userrule_model_userrule->main($variables);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
    }
}
